Glofa CNET communication driver

 

Glofa CNET communication driver is the driver to communicate with GLOFA GM series PLC(232/422/485) of LSIS Co., Ltd.  in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of Glofa CNET communication driver. 

<Figure 1>  Read setting example of Glofa CNET communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(38400), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of PLC.

 

Note) Glofa PLC's default communication setting are 38400, 0, 8, 1.

Baud rate, parity bit, data bit, stop bit can change by using 'Frame Editor' of LSIS.

 

Glofa CNET communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – PLC station number = 0(default) ~ 31.

2) Read memory type – Memory type = IX, QX, MX, IW, QW, MW, MD. ( Refer to <Table 1> )

3) Read start address – Read start address in memory.

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – Word(Dword) unit read size.

6) Base number – Base number when I, Q memory.

7) Slot number – Slot number when I, Q memory.

 

Read schedule example)

READ,    0,   IW,   0,   0,  2,   0,   1,

READ,    0,   QW,   0,   2,  2,   0,   2,

READ,    0,   MW,   0,  16,  16,

DWORD, 0,   MD, 123,  0,  16,

 

<Table 1> is memory type and contents of Glofa PLC.

Memory type Contents Read/Write

IX

Bit unit read for I memory

R

QX

Bit unit read and write for Q memory

R/W

MX

Bit unit read and write for M memory

R/W

IW

Word unit read for I memory

R

QW

Word unit read and write for Q memory

R/W

MW

Word unit read and write for M memory

R/W

MD

Double word unit read and write for M memory

R/W

<Table 1> Memory type and contents of Glofa PLC

 

2. Writing settings

You can set Glofa PLC by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             PLC station number = 0 ~ 31.

3)  ADDRESS          Write address in memory.

MX memory type : real write address

QX memory type : upper 2 digit = Slot number,    lower 2 digit = Point number.

4)  Extra1                   Write memory type = QX or MX, etc.

5)  Extra2                   Base number when Q memory type.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0000, EXTRA1 : MX,  EXTRA2 :

The setting parameter shown above is a control(On/Off) example for %MX0000.

 

Write example 2) 

PORT : 0  Station : 0, ADDRESS : 0203, EXTRA1 : QX,  EXTRA2 : 0

The setting parameter shown above is a control(On/Off) example for 0 Base, 2 Slot, 3 point number of Q memory type.( %QX0.2.3 )

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             PLC station number = 0 ~ 31.

3)  ADDRESS          Word unit write address in memory.

4)  Extra1                   Write memory type = MW or MD, etc.

5)  Extra2                   Don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0001, EXTRA1 : MW,  EXTRA2 :

The setting parameter shown above is word write example for 0001 word of M memory type.( MW0001 )

 

3. Connectoin of communication cable

Please connect full RS-232C Serial communication cable for GLOFA PLC such as <Figure 2>.

<Figure 2>  RS-232C communication cable for Glofa CNET communication driver
4. Check point when communication error

1) Check 'Mode switch' of CNET communication module. You have to set 'dedicated communication mode' of Mode switch. ( can't communicate when 'User define Mode' or 'Test Mode')

Please refer to reference manual of GLOFA PLC for more information.

2) Please check the connection of communication cable. It can't communicate when you using 'communication cable for Ladder'.

3) Check station number of PLC.

4) Check baud rate of PLC and driver setting for Glofa CNET communication driver.

Baud rate can set by using 'Frame Editor'.